package com.dhcc.hikari.service;



import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.stereotype.Repository;

import com.dhcc.hikari.entity.NurseRevocation;
public interface NurseRevocationService {
	/**
    * 1.保存
    */
   public void save(NurseRevocation nurseRevocation);

   /**
    * 2.更新
    */
   public void update(NurseRevocation nurseRevocation);
	/**
    * 3.根据id查询
    */
   public NurseRevocation findById(String id);
   /**
    * 4.批量插入
    */
   public void batchSave(List<NurseRevocation> nurseRevocation);
   public int batchInsert(List<NurseRevocation> nurseRevocation);
   /**
    * 4.批量插入
    */
   public Page findAll(NurseRevocation nurseRevocation,int page,int size);
   public List<NurseRevocation> findList(NurseRevocation nurseRevocation);
}
